package com.fengchao.api.dao.cfg;

import com.fengchao.api.dao.BaseMapper;
import com.fengchao.model.cfg.CfgApiConfig;

import java.util.List;

public interface CfgApiConfigMapper extends BaseMapper<CfgApiConfig> {
    List<CfgApiConfig> findAll();

    /**
     * 根据key查询配置
     *
     * @param key
     * @return
     */
    CfgApiConfig findByKey(String key);
}